$(".getbaidu").on("click",function(){
    var baidu_url = $(this).attr("value");
    var baidu_title = $(this).text();

    var data = {data:JSON.stringify({
                    'baidu_title': baidu_title,
                    'baidu_url': baidu_url
                })};
    alert(baidu_title);
    $.ajax({
    type:"POST",
    url:"http://127.0.0.1:5000/parseCatalogue",
    data:data,
    datatype: "json",
            error: function (e) {
                alert("error:"+e);
            }
    });
});




